package com.qihang.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.qihang.common.Constants;

/**
 * 通用的controller
 * @author Administrator
 *
 */
@Controller
@RequestMapping("common")
public class CommonController {

	
	/**
	 * @Title: 公共头部
	 * @Description: 公共头部
	 * 
	 * @return
	 */
	@RequestMapping("/header")
	public String header(){
		return Constants.Common.HEADER;
	}
	
	/**
	 * @Title: 左侧菜单
	 * @Description: 左侧菜单
	 * 
	 * @return
	 */
	@RequestMapping("/left")
	public String left(){
		
		return Constants.Common.LEFT;
	}
	
	
}
